<?php

namespace common\validate;

class TaskWorkOrderProblemStepCategory extends BaseValidate
{
    // 验证规则
    protected $rule = [];

    public function sceneAddTaskWorkOrderProblemStepCategory()
    {
        return $this->append('data.task_work_order_id', 'require')
            ->append('data.step_category_id', 'require');
    }

    public function sceneDelete()
    {
        return $this->append('param.filter', 'require');
    }
}